package com.zy.service.crm;

import com.zy.entity.crm.CustomerInfo;
import com.zy.pojo.query.crm.CustomerInfoQuery;
import com.zy.pojo.vos.common.PageVo;
import com.zy.service.base.BaseService;

public interface CustomerInfoService extends BaseService<CustomerInfo> {

	/**
	 * 分页
	 * 
	 * @param customerInfo
	 * @param start
	 * @param limit
	 * @return
	 */
	PageVo pageCustomerInfo(CustomerInfoQuery customerInfoQuery, Integer start, Integer limit);

	/**
	 * 新增
	 * 
	 * @param customerInfo
	 */
	void saveCustomerInfo(CustomerInfo customerInfo);
	
	/**
	 * 更新
	 *
	 * @param customerInfo
	 */
	void updateCustomerInfo(CustomerInfo customerInfo);

	/**
	 * 删除
	 * 
	 * @param id
	 */
	void removeCustomerInfo(long id);

	/**
	 * 恢复
	 * 
	 * @param id
	 */
	void recover(long id);

}
